package cloud.shyidong.commerce.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import cloud.shyidong.core.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 实体
 * </p>
 * @author syd
 * @since 2023-09-18 15:34:23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("commerce_index")
public class CommerceIndexEntity implements BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 租户ID
     */
    private Long tenantId;

    /**
     * 商品ID
     */
    private Long goodsId;

    /**
     * 
     */
    private Integer status;

    /**
     * 
     */
    private Integer sortIndex;

    /**
     * 
     */
    private Long createUser;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Long updateUser;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    @TableLogic
    private Integer deleted;

    /**
     * 
     */
    private String remark;


}
